{% extends 'base/base.html' %}
{% block title %}
<title>{{ ans.title }}agem排行榜</title>
{% endblock %}
{% block css %}
<style>
.xcontainer {
    width: 1140px;
    max-width: 1140px;
    padding-top: .5rem !important;
}

</style>
{% endblock %}
{% block body %}
<div class="body_content_wrapper pb-2 mt-0">
    <div class="container xcontainer">
    <section class="bg-dark rounded-3 g-0 p-3 text-white">
        <div id="rank_list_wrapper">
            <div class="rank_list_box today_recommend">
                <div class="rank_list_box--hd">
                    <h6 class="title">

                    </h6>
                </div>
                <div class="rank_list_box--bd">
                    <div class="row">
                        <div class="col-12">
                            <h6 class="title text-danger text-center">总榜 TOP50</h6>
                            {% for an in modified_views %}
                            <div class="rank_list_item d-flex">
                                <div class="rank_list_item_no text-warning ">{{ forloop.counter }}</div>
                                <div class="rank_list_item_title flex-shrink-1 w-100 text-truncate"><a href='{% url "main:detail" an.id %}' class="common_alink">{{ an.title }}</a></div>
                                <div class="rank_list_item_views">{{ an.views }}w</div>
                            </div>
                            {% endfor %}
                        </div>
                        <div class="col-12 pt-3 text-secondary text-end" style="font-size: 14px"><em>最后更新时间：{{ request.user.last_login }}</em></div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    </div>
</div>
{% endblock %}